-
Notifications
You must be signed in to change notification settings - Fork 382
Fix tasks not loading on .NET Framework #8952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
... due to inconsistent TFMs. See #8864 (comment) for more details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the change overall but looks like some of the code is now missing features from certain .NET versions (according to the build failures).
Probably needs the ValueTuple package. Will fix tomorrow. |
/backport to release/9.0.1xx |
Started backporting to release/9.0.1xx: https://github.com/dotnet/templating/actions/runs/14510819787 |
@ViktorHofer backporting to "release/9.0.1xx" failed, the patch most likely resulted in conflicts: $ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Fix tasks not loading on .NET Framework
Using index info to reconstruct a base tree...
M tools/Microsoft.TemplateEngine.Authoring.TemplateVerifier/Microsoft.TemplateEngine.Authoring.TemplateVerifier.csproj
M tools/Microsoft.TemplateSearch.TemplateDiscovery/Microsoft.TemplateSearch.TemplateDiscovery.csproj
Falling back to patching base and 3-way merge...
Auto-merging tools/Microsoft.TemplateSearch.TemplateDiscovery/Microsoft.TemplateSearch.TemplateDiscovery.csproj
CONFLICT (content): Merge conflict in tools/Microsoft.TemplateSearch.TemplateDiscovery/Microsoft.TemplateSearch.TemplateDiscovery.csproj
Auto-merging tools/Microsoft.TemplateEngine.Authoring.TemplateVerifier/Microsoft.TemplateEngine.Authoring.TemplateVerifier.csproj
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Fix tasks not loading on .NET Framework
Error: The process '/usr/bin/git' failed with exit code 128 Please backport manually! |
* Fix tasks not loading on .NET Framework ... due to inconsistent TFMs. See #8864 (comment) for more details * Fix TFMs and set NetFrameworkMinimum to net472 * Build NetCurrent in source-only builds
... due to inconsistent TFMs. See #8864 (comment) for more details
Problem
Fixes loading templating tasks on .NET Framework due to inconsistent TFMs.
Solution
For non samples, non test projects and non templates, change the following TFMs:
Checks: